import 'package:json_annotation/json_annotation.dart';

@JsonSerializable()
class AutoJsonBean {
  int? a;

  AutoJsonBean() {
    print('hello');
  }
}

@JsonSerializable()
class AutoJsonBean2 {
  int? a;

  AutoJsonBean2() {
    print('hello');
  }

  factory AutoJsonBean2.fromJson(dynamic json) => AutoJsonBean2();
}

@JsonSerializable()
class AutoJsonBean3 {
  int? a;

  Map<String, dynamic> toJson() => <String, dynamic>{};
}
